package com.swu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "校验规则返回对象")
public class ValidationRuleVO {
    
    @Schema(description = "规则ID")
    private Long id;
    
    @Schema(description = "规则名称")
    private String ruleName;
    
    @Schema(description = "规则描述")
    private String ruleDescription;
    
    @Schema(description = "规则类型：1-条件必填检查 2-逻辑一致性检查")
    private Integer ruleType;
    
    @Schema(description = "规则状态：0-禁用 1-启用")
    private Integer status;
    
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人")
    private String creator;
    
    @Schema(description = "更新人")
    private String updater;
} 